package org.jeecg.modules.hc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.hc.enums.HcDeliveryStatusEnum;
import org.jeecg.modules.hc.enums.HcIsFlagEnum;
import org.jeecg.modules.hc.enums.HcMerchantSettlementTypeEnum;
import org.jeecg.modules.hc.enums.HcStoreStatusEnum;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description: 商户
 * @Author: jeecg-boot
 * @Date: 2022-12-13
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "", description = "商户数据")
public class HcMerchantData implements Serializable {
    private static final long serialVersionUID = 1L;

    private Date minDate;

//    private Date maxDate;

    @TableField(exist = false)
    @ApiModelProperty(value = "结算类型")
    private HcMerchantSettlementTypeEnum settlementType;

    @ApiModelProperty(value = "商户变动列表")
    List<HcMerchantSettlement> hcMerchantSettlementList;

    @ApiModelProperty(value = "日期")
    private String dateStr;

    @ApiModelProperty(value = "今日收入")
    private BigDecimal todayIncome;

    @ApiModelProperty(value = "有效单量")
    private Long effectiveQuantity;

    @ApiModelProperty(value = "收入总额")
    private BigDecimal totalIncome;

    /**
     * 包装评分
     */
    @Excel(name = "包装评分", width = 15)
    @ApiModelProperty(value = "包装评分")
    private BigDecimal packagingScore;
    /**
     * 分量评分
     */
    @Excel(name = "分量评分", width = 15)
    @ApiModelProperty(value = "分量评分")
    private BigDecimal componentScore;
    /**
     * 口味评分
     */
    @Excel(name = "口味评分", width = 15)
    @ApiModelProperty(value = "口味评分")
    private BigDecimal flavorScore;

    @ApiModelProperty(value = "售后记录")
    private Long afterSalesRecords;
}
